1 <?php
2 include(
"header.php");
3 include(
"sidebar.php");
4 include(
"dbconnection.php");
5 ?>
6 <?php
7 $sql = mysql_query(
"select * from vehicle where sellno='$_GET[vehicleid]'");
8 $row = mysql_fetch_array($sql);
9 ?>
10         
11                             
12         <div id=
"main">
13             
14             <a name=
"TemplateInfo"></a>
15             <h1>View More</h1>
16         <form action=
"viewsellvehicle.php" method="post" name="form1" id="form1">
17             <table width=
"500", border="0">
18                 <th width=
"169" height="33" scope="row">Customer Name</th>
19                 <td width=
"140">
20                   <label
for="fname"></label>
21                   <label
for="custname"></label>
22                   <label
for="sparename"></label>
23                   <label
for="vehname2"></label>
24                   <label
for="empname"></label>
25                   <?php
26                   $result = mysql_query(
"select fname from customer where custid='$row[custid]'");
27                   $res = mysql_fetch_array($result);
28                   ?>
29                <?php echo $res[
'fname']; ?></td>
30               </tr>
31               <tr>
32                 <th height=
"33" scope="row">Vehicle Name
33                   <label
for="lname"></label></th>
34                 <td><?php echo $row[
'vehname']; ?></td>
35               </tr>
36               <tr>
37                 <th height=
"28" scope="row">Model</th>
38                 <td><?php echo $row[
'model']; ?>
39                 </td>
40               </tr>
41               <tr>
42                 <th height=
"31" scope="row">Brand</th>
43                 <td><label
for="password"></label>
44                   <label
for="date"></label>
45                   <label
for="description"></label>
46                   <label
for="brand"></label>
47                  <?php echo $row[
'brand']; ?></td>
48               </tr>
49               <tr>
50                 <th height=
"36" scope="row">Image</th>
51                 <td><label
for="confpass"></label>
52                   <label
for="images"></label>
53                   <label
for="address"></label>
54                   <label
for="image"></label>
55                   <label
for="images2"></label>
56                   <label
for="images3"></label>
57                   <label
for="file"></label>
58                    <img src=
"upload/<?php echo $row['images']; ?>" width="150" height="150" />
59               </tr>
60               <tr>
61                 <th height=
"33" scope="row">Estimated Price</th>
62                 <td><label
for="estprice"></label>
63                  <?php echo $row[
'estmdprice']; ?></td>
64               </tr>
65                <tr>
66                 <th height=
"33" scope="row">Status</th>
67                 <td><label
for="estprice"></label>
68                  <?php echo $row[
'status']; ?></td>
69               </tr>
70               <tr>
71                 <th scope=
"row">&nbsp;</th>
72                 <td><input type=
"submit" name="submit" id="submit" value="Back" /></td>
73               </tr>
74           </table>
75 </form>
76             <p>&nbsp;</p>
77 <br />
78                                             
79         </div>
80         
81 <!-- wrap ends here -->
82 </div>
83         
84 <?php
85 include(
"footer.php");
86 ?>


Gõ tìm kiếm nhanh...